package com.zhiyou.model;

import java.io.Serializable;
import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Book implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer book_id;
	private Integer course_id;
	private Integer book_type;
	private String book_name;
	private String book_content;
	private String book_resource;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Timestamp book_release_time;
}
